package com.yz.yrpc.annotation;

import com.yz.yrpc.handler.DefaultParamHandler;
import com.yz.yrpc.handler.DefaultResultHandler;
import com.yz.yrpc.handler.ParamHandler;
import com.yz.yrpc.handler.ResultHandler;

import java.lang.annotation.*;

/**
 * @author shanchong
 * @date 2019-07-09
 **/
@Documented
@Target(value = ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface YrpcClient {

    String name() ;

    Class<?> paramHandler() default DefaultParamHandler.class;

    Class<?> resultHandler() default DefaultResultHandler.class;

}
